package com.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Sport implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("sport_id")
    @TableId(type = IdType.AUTO)
    private Long sportId;

    @TableField("sport_name")
    @ApiModelProperty(value = "运动的名称")
    private String sportName;

}

